<script type="text/javascript">

  alert(document.getElementById('uid').value+':(')

</script>

<input type="text"  value="Pradeep Kr." id="uid" />


<script type="text/javascript">

  alert(document.getElementById('uid').value+' :)')

</script>
